<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="http://www.rus.warmia.pl/">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="google-site-verification" content="N3Mts-zzP4MHE79Tbh9YY0e7wdxLEa8dEUaKtBjS0xo" />
<?php 
 	if(empty($_GET["content"]))
 		$content = "aktualnosci";
 	else
		$content = $_GET["content"];
	if( !file_exists("contenty/".$content.".php") )
		$content = "aktualnosci";
	require("config/config.php"); // połączenie z BD
?>

<title><?php echo "Ruś -".$content; ?></title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="background">
<div id="shadow">
<div id="page">
  <div id="header"></div>
   <div id="menu">
      <ul>
       <li><a href="/?content=aktualnosci">Aktualnosci</a></li>
       <li><a href="/?content=galeria">Galeria</a></li>
       <li><a href="http://forum.rus.warmia.pl">Forum</a></li>
       <li><a href="/?content=kontakt">Kontakt</a></li>
       <li>O nas</li>
     </ul>
  </div>
  <div id="content">
    <div id="long"></div>
  	<div id="mainContent"><?php require("contenty/".$content.".php"); ?></div>
  </div>
  <div id="foot">
  	<p>testowa stopka na stroni</p>
  </div>
</div>
</div>
</div>
</body>
</html>